﻿using System;
using NiuX.Auditing;

namespace NiuX.Domain.Entities.Auditing;

public abstract class CreationAuditedEntity : EntityBase, IHasCreationTime
{
    public DateTimeOffset CreationTime { get; set; } = DateTimeOffset.Now;
}

public abstract class CreationAuditedEntity<TKey> : EntityBase<TKey>, IHasCreationTime
{
    public DateTimeOffset CreationTime { get; set; } = DateTimeOffset.Now;

}